package com.db.patterns.factory.demo04;

public class XiaomiFactory implements IFactory {

    @Override
    public void createPhone() {
        XiaomiPhone xiaomiPhone = new XiaomiPhone();
        xiaomiPhone.show();
    }

    @Override
    public void createComputed() {
        XiaomiComputed xiaomiComputed = new XiaomiComputed();
        xiaomiComputed.show();
    }
}
